<template>
  <div class="steamItem">
    <a :href="props.steamItem.link" target="_blank">
      <div style="margin-left: 15px; width: 20px; height: 20px">
        {{ props.steamItem.index }}
      </div>
      <div style="margin-left: 20px">{{ props.steamItem.name }}</div>
      <div style="float: right; margin-right: 5px">
        {{ props.steamItem.count }}
      </div>
    </a>
  </div>
</template>

<script setup>
const props = defineProps({
  steamItem: Object,
});
</script>

<style scoped lang="less">
.steamItem {
  font-size: 16px;
  margin-top: 10px;
  height: 30px;

  a > div {
    float: left;
    color: #686868;
  }
  &:hover div {
    font-weight: bold;
    color: #f76341;
  }
}
</style>
